{
GtkClock *clock = l->data;
- /* We will now return a different value for the time porperty,
+ /* We will now return a different value for the time property,
* so notify about that.
*/
g_object_notify_by_pspec (G_OBJECT (clock), properties[PROP_TIME]);
g_warning ("%s: %s", G_STRLOC, error);
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
return;
}
g_warning ("%s: %s", G_STRLOC, error);
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
}
va_end (args);
* gdk_keymap_get_caps_lock_state:
* @keymap: a #GdkKeymap
*
- * Returns whether the Caps Lock modifer is locked.
+ * Returns whether the Caps Lock modifier is locked.
*
* Returns: %TRUE if Caps Lock is on
*/
* gdk_keymap_get_num_lock_state:
* @keymap: a #GdkKeymap
*
- * Returns whether the Num Lock modifer is locked.
+ * Returns whether the Num Lock modifier is locked.
*
* Returns: %TRUE if Num Lock is on
*/
* gdk_keymap_get_scroll_lock_state:
* @keymap: a #GdkKeymap
*
- * Returns whether the Scroll Lock modifer is locked.
+ * Returns whether the Scroll Lock modifier is locked.
*
* Returns: %TRUE if Scroll Lock is on
*/
* Creates a new texture by loading an image from a file. The file format is
* detected automatically. If %NULL is returned, then @error will be set.
*
- * Return value: A newly-created #GdkTexture or %NULL if an error occured.
+ * Return value: A newly-created #GdkTexture or %NULL if an error occurred.
**/
GdkTexture *
gdk_texture_new_from_file (GFile *file,
static gboolean run_loop_polling_async = FALSE;
/* Between run_loop_before_waiting() and run_loop_after_waiting();
- * max_prioritiy to pass to g_main_loop_check()
+ * max_priority to pass to g_main_loop_check()
*/
static gint run_loop_max_priority;
GDK_NOTE (DND,
g_print ("idataobject_querygetdata %p 0x%08x fmt, %p ptd, %lu aspect, %ld lindex, %0lx tymed - %s, return %#lx (%s)\n",
This, pFormatEtc->cfFormat, pFormatEtc->ptd, pFormatEtc->dwAspect, pFormatEtc->lindex, pFormatEtc->tymed, _gdk_win32_cf_to_string (pFormatEtc->cfFormat),
- hr, (hr == S_OK) ? "S_OK" : (hr == DV_E_FORMATETC) ? "DV_E_FORMATETC" : (hr == DV_E_LINDEX) ? "DV_E_LINDEX" : (hr == DV_E_TYMED) ? "DV_E_TYMED" : (hr == DV_E_DVASPECT) ? "DV_E_DVASPECT" : "uknown meaning"));
+ hr, (hr == S_OK) ? "S_OK" : (hr == DV_E_FORMATETC) ? "DV_E_FORMATETC" : (hr == DV_E_LINDEX) ? "DV_E_LINDEX" : (hr == DV_E_TYMED) ? "DV_E_TYMED" : (hr == DV_E_DVASPECT) ? "DV_E_DVASPECT" : "unknown meaning"));
return hr;
}
guint32 timestamp;
/* TRUE if during the next redraw we should call SetWindowPos() to push
- * the window size and poistion to the native window.
+ * the window size and position to the native window.
*/
gboolean native_move_resize_pending;
* The X I/O error handling routine.
*
* Arguments:
- * "display" is the X display the error orignated from.
+ * "display" is the X display the error originated from.
*
* Results:
* An X I/O error basically means we lost our connection
* be freed.
*
* Returns: name of the X atom; this string is owned by GDK,
- * so it shouldn’t be modifed or freed.
+ * so it shouldn’t be modified or freed.
**/
const gchar *
gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
*
* Normalizes the passed rectangle.
*
- * this function will ensure that the bounds of the rectanlge are normalized
+ * this function will ensure that the bounds of the rectangle are normalized
* and ensure that the corner values are positive and the corners do not overlap.
*
* Returns: (transfer none): the normalized rectangle
* A rectangular region with rounded corners.
*
* Application code should normalize rectangles using gsk_rounded_rect_normalize();
- * this function will ensure that the bounds of the rectanlge are normalized
+ * this function will ensure that the bounds of the rectangle are normalized
* and ensure that the corner values are positive and the corners do not overlap.
* All functions taking a #GskRoundedRect as an argument will internally operate on
* a normalized copy; all functions returning a #GskRoundedRect will always return
gtk_action_muxer_action_added (GtkActionMuxer *muxer,
const gchar *action_name,
GActionGroup *original_group,
- const gchar *orignal_action_name)
+ const gchar *original_action_name)
{
const GVariantType *parameter_type;
gboolean enabled;
action = g_hash_table_lookup (muxer->observed_actions, action_name);
if (action && action->watchers &&
- g_action_group_query_action (original_group, orignal_action_name,
+ g_action_group_query_action (original_group, original_action_name,
&enabled, ¶meter_type, NULL, NULL, &state))
{
GSList *node;
static gboolean
gtk_application_dbus_register (GApplication *application,
GDBusConnection *connection,
- const char *obect_path,
+ const char *object_path,
GError **error)
{
GtkApplicationPrivate *priv = gtk_application_get_instance_private (GTK_APPLICATION (application));
static void
gtk_application_dbus_unregister (GApplication *application,
GDBusConnection *connection,
- const char *obect_path)
+ const char *object_path)
{
GtkApplicationPrivate *priv = gtk_application_get_instance_private (GTK_APPLICATION (application));
static gboolean
gtk_application_dbus_register (GApplication *application,
GDBusConnection *connection,
- const char *obect_path,
+ const char *object_path,
GError **error)
{
return TRUE;
static void
gtk_application_dbus_unregister (GApplication *application,
GDBusConnection *connection,
- const char *obect_path)
+ const char *object_path)
{
}
/**
* GTK_BUILDER_WARN_INVALID_CHILD_TYPE:
- * @object: the #GtkBuildable on which the warning ocurred
+ * @object: the #GtkBuildable on which the warning occurred
* @type: the unexpected type value
*
* This macro should be used to emit a warning about and unexpected @type value
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
break;
}
-/* Color utilties
+/* Color utilities
*
* Copyright (C) 1999 The Free Software Foundation
*
if (!object)
continue;
- /* If the widget already has reponse data at this point, it
+ /* If the widget already has response data at this point, it
* was either added by gtk_dialog_add_action_widget(), or via
* <child type="action"> or by moving an action area child
* to the header bar. In these cases, apply placement heuristics
* gtk_drop_target_get_value:
* @self: a #GtkDropTarget
*
- * Gets the value of the GtkDropTarget:value porperty.
+ * Gets the value of the GtkDropTarget:value property.
*
* Returns: (nullable) (transfer none): The current drop data
**/
* based on the formats provided by the @drop.
*
* If the decision whether the drop will be accepted or rejected needs
- * further procesing, such as inspecting the data, this function should
+ * further processing, such as inspecting the data, this function should
* return %TRUE and proceed as is @drop was accepted and if it decides to
* reject the drop later, it should call gtk_drop_target_reject_drop().
*
static void
gtk_emoji_chooser_child_popup_menu (GtkWidget *widget,
const char *action_name,
- GVariant *paramters)
+ GVariant *parameters)
{
GtkWidget *chooser;
gtk_widget_show (impl->remote_warning_bar);
/* We're not showing the file list here already and instead rely on the
- * GtkSearchEntry timout and the ::hits-added signal from above to
+ * GtkSearchEntry timeout and the ::hits-added signal from above to
* switch. */
}
*
* The default bindings for this signal come in two variants,
* the variant with the Shift modifier extends the selection,
- * the variant without the Shift modifer does not.
+ * the variant without the Shift modifier does not.
* There are too many key combinations to list them all here.
* - Arrow keys move by individual children
* - Home/End keys move to the ends of the box
* of the icon or %NULL to use the default color (allow-none)
*
* This is similar to the implementation of gdk_paintable_snapshot(), but if the icon is
- * symbolic it will be recolored with the specified colors (which ususally comes from the theme).
+ * symbolic it will be recolored with the specified colors (which usually comes from the theme).
*/
void
gtk_icon_paintable_snapshot_with_colors (GtkIconPaintable *icon,
data = get_response_data (widget, FALSE);
g_signal_handler_disconnect (widget, data->handler_id);
- g_object_set_data (G_OBJECT (widget), "gtk-info-bar-reponse-data", NULL);
+ g_object_set_data (G_OBJECT (widget), "gtk-info-bar-response-data", NULL);
}
static GtkWidget *
*
* The default bindings for this signal come in two variants,
* the variant with the Shift modifier extends the selection,
- * the variant without the Shift modifer does not.
+ * the variant without the Shift modifier does not.
* There are too many key combinations to list them all here.
* - Arrow keys move by individual characters/lines
* - Ctrl-arrow key combinations move by words/paragraphs
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
break;
}
/* Note: Order is important here.
* The ::drag-begin handler relies on the state set up by the
* click ::pressed handler. Gestures are handling events
- * in the oppposite order in which they are added to their
+ * in the opposite order in which they are added to their
* widget.
*/
priv->drag_gesture = gtk_gesture_drag_new ();
/**
* GtkScrollable:vadjustment:
*
- * Verical #GtkAdjustment of the scrollable widget. This adjustment is shared
+ * Vertical #GtkAdjustment of the scrollable widget. This adjustment is shared
* between the scrollable widget and its parent.
*/
pspec = g_param_spec_object ("vadjustment",
*/
properties[PROP_MNEMONICS_MODIFIERS] =
g_param_spec_flags ("mnemonic-modifiers",
- P_("Mnemonic modifers"),
+ P_("Mnemonic modifiers"),
P_("The modifiers to be pressed to allow mnemonics activation"),
GDK_TYPE_MODIFIER_TYPE,
GDK_ALT_MASK,
*
* The default bindings for this signal come in two variants,
* the variant with the Shift modifier extends the selection,
- * the variant without the Shift modifer does not.
+ * the variant without the Shift modifier does not.
* There are too many key combinations to list them all here.
* - Arrow keys move by individual characters/lines
* - Ctrl-arrow key combinations move by words/paragraphs
* gtk_text_layout_get_line_at_y:
* @layout: a #GtkLayout
* @target_iter: the iterator in which the result is stored
- * @y: the y positition
+ * @y: the y position
* @line_top: location to store the y coordinate of the
* top of the line. (Can by %NULL)
*
* If the anchor rectangle is too tall (meaning if we'd be constrained
* and flip, it'd flip too far away), rely only on the pointer position
* to position the tooltip. The approximate pointer cursorrectangle is
- * used as an anchor rectantgle.
+ * used as an anchor rectangle.
*
* If the anchor rectangle isn't to tall, make sure the tooltip isn't too
* far away from the pointer position.
* Checks if @potential_child is a child (direct or via intermediate
* trees) of @tree.
*
- * Returns: %TRUE if @potentitial_child is a child of @tree.
+ * Returns: %TRUE if @potential_child is a child of @tree.
**/
gboolean
gtk_tree_rbtree_contains (GtkTreeRBTree *tree,
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
break;
}
* GtkWidget:adjust_size_request() is called).
*
* Currently bypassing this but the real solution is to not update the scroll adjustments
- * untill we've recieved an allocation (never update scroll adjustments from size-requests).
+ * until we've received an allocation (never update scroll adjustments from size-requests).
*/
prevent_recursion_hack = TRUE;
gtk_tree_view_measure (GTK_WIDGET (tree_view),
if (info->member_uris)
{
cups_printer->printer_uri = g_strdup (info->member_uris);
- /* TODO if member_uris is a class we need to recursivly find a printer */
+ /* TODO if member_uris is a class we need to recursively find a printer */
GTK_NOTE (PRINTING,
g_print ("CUPS Backend: Found class with printer %s\n",
info->member_uris));